#include "stdafx.h"
#include "ZRandomNumberGenerator.h"

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
_ZMainApi	int	random(int min, int max)	{
	static RandomNumberGenerator<boost::uniform_int<> > generator;
	return generator.rand(min, max);
}

_ZMainApi	float	random(float min, float max)	{
	static RandomNumberGenerator<boost::uniform_real<float> > generator;
	return generator.rand(min, max);
}

}